package com.guanghua.brick.db;

/**
 * 实现该接口，用于针对各种数据的分页查询
 * @author leeon
 */
public interface ISQLPagerSection {
	
	public final static String ORACLE_PAGER_ROWNUM = "ORACLE_PAGER_ROWNUM";
	
	//转换分页查询的sql
	public String transformToPageSQL(String sql, PageInfo pager);
	//转换成求总记录数的sql
	public String transformToCountSQL(String sql);

}
